<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width">

        <link rel="stylesheet" href="css/bootstrap.min.css">
        <style>
            body {
                padding-top: 60px;
                padding-bottom: 40px;
            }
        </style>
        <link rel="stylesheet" href="css/bootstrap-responsive.min.css">
        <link rel="stylesheet" href="css/main.css">

        <!--[if lt IE 9]>
            <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
            <script>window.html5 || document.write('<script src="js/vendor/html5shiv.js"><\/script>')</script>
        <![endif]-->
    </head>
    <body>
        <!--[if lt IE 7]>
            <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
        <![endif]-->

        <div class="container">
		<div class="offset4 span4">
			<h1>Car Auction</h1>
			<% String x = (String)request.getAttribute("Reset");
				if(x != null )
					%>	
			<div class="alert alert-error">
			  <button type="button" class="close" data-dismiss="alert">&times;</button>
 				<%
	
					out.print(x);%>	
					
			</div>
			<form id="signup" class="form-horizontal well" method="post" action="Security?action=login">
				<legend>Login</legend>
				<div class="control-group">
						<div class="input-prepend">
						<span class="add-on"><i class="icon-user"></i></span>
							<input type="text" class="input-xlarge" id="usrname" name="usrname" placeholder="Full Name">
						</div>
				</div>

				<div class="control-group">
						<div class="input-prepend">
						<span class="add-on"><i class="icon-lock"></i></span>
							<input type="Password" id="passwd" class="input-xlarge" name="passwd" placeholder="Password">
					</div>
				</div>

				<div class="control-group">
						<button class="btn btn-medium btn-primary" type="submit">Sign in</button>
						<button class="btn btn-medium btn-primary">Register</button>
				</div>

			  </form>
        </div> <!-- /container -->

		<script src="js/jquery-1.9.1.min.js"></script>
		<script src="js/jquery.validate.js"></script>
        <script src="js/vendor/bootstrap.min.js"></script>
        <script src="js/main.js"></script>
		<script type="text/javascript">
			$(document).ready(function(){
				$("#signup").validate({
					rules:{
						usrname:"required",
						passwd:{
							required:true,
							minlength: 8
						},
					},
				});
			});
		</script>
    </body>
</html>
